<style>
    .wrapper {
        display: flex;
        gap: 8px;
    }

    .wrapper>* {
        width: 100px;
        height: 80px;

        background-color: #ddd;
        margin-right: 8px;
        text-align: center;
        line-height: 80px;
    }

    .wrapper>*:nth-of-type(3) {
        background-color: lightblue;
    }
</style>
<div class="wrapper">
    <div>1</div>
    <div style="display: none;">xx</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
	<p>ddd</p>
</div>